package com.yzy.soft.common.persistence.model;

import java.io.Serializable;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;

public class CodeType extends Model<CodeType>{
    private static final long serialVersionUID = 1L;
    @TableId("codetype")
    private String codetype;
    @TableId("code")
    private String code;
    @TableField("codename")
    private String codename;
    @TableField("codealias")
    private String codealias;
    @TableField("comcode")
    private String comcode;
    @TableField("othersign")
    private String othersign;

    public String getCodetype() {
        return codetype;
    }

    public void setCodetype(String codetype) {
        this.codetype = codetype;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCodename() {
        return codename;
    }

    public void setCodename(String codename) {
        this.codename = codename;
    }

    public String getCodealias() {
        return codealias;
    }

    public void setCodealias(String codealias) {
        this.codealias = codealias;
    }

    public String getComcode() {
        return comcode;
    }

    public void setComcode(String comcode) {
        this.comcode = comcode;
    }

    public String getOthersign() {
        return othersign;
    }

    public void setOthersign(String othersign) {
        this.othersign = othersign;
    }
    @Override
    protected Serializable pkVal() {
        return this.codetype;
    }
}
